from bs4 import BeautifulSoup
with open('E:\\1\\第四章：解析网页数据\\练习\\bs4.html', 'r', encoding='utf-8') as file : html = file.read()
soup=BeautifulSoup(html,'lxml')
# 使用prettify方法，把解析的字符以标准缩进格式输出
#print(soup.prettify())
print(soup.find_all('h4'))

